package com.batch.adance.cvs;

import java.util.List;

import org.springframework.batch.item.ItemWriter;
import org.springframework.stereotype.Component;

@Component("FlatFileWriterDemo")
public class FlatFileWriterDemo implements ItemWriter<AppInfo> {

	@Override
	public void write(List<? extends AppInfo> items) throws Exception {
		for (AppInfo AppInfo : items) {
			System.out.println(AppInfo);
		}
	}

}